package mvc;

public interface TicTacToeModel {

	final int PLAYER_NONE = 0;
	final int PLAYER_X = 1;
	final int PLAYER_O = 2;
	
	public int getPiece(int row, int col);
	
	public void setPiece(int row, int col, int player);
	
	public boolean isGameOver();
	
	public int getGewinner();
	
	public void restart();
	
	public void addTicTacToeListener(TicTacToeListener listener);
	
	public void removeTicTacToeListener(TicTacToeListener listener);
}
